package com.jingtai.core.mapper.shop;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jingtai.core.entity.shop.MerchantsGoods;
import org.apache.ibatis.annotations.Param;


/**
 * <p>
 * 商户商品表 Mapper 接口
 * </p>
 *
 * @author GR
 * @since 2020-11-28
 */
public interface MerchantsGoodsMapper extends BaseMapper<MerchantsGoods> {

    /**
     * 根据关键字分页查询商品列表
     */
    Page<MerchantsGoods> pageGoodsByKeyWord(Page<MerchantsGoods> page,
                                            @Param("keyWord") String keyWord);
}
